package com.example.springsecurity01.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author yangdc
 * @date 2022/4/19
 */
@RestController
@RequestMapping("/user")
public class UserController {
    @RequestMapping({"", "/index"})
    public ResponseEntity<String> index() {
        return ResponseEntity.ok("/user/index");
    }
}
